import request from '@/utils/request'
export function list(params) {
  return request({
    url:'/admin/sysPost/list',
    method:'get',
    params:params
  })
}
export function save(data) {
  return request({
    url:'/admin/sysPost/save',
    method: 'post',
    data:data
  })
}
export function del(ids) {
  return request({
    url:'/admin/sysPost/del/'+ids,
    method: 'post',
  })
}
export function update(data) {
  return request({
    url:'/admin/sysPost/update',
    method:'post',
    data:data
  })
}
export function find(id) {
  return request({
    url:'/admin/sysPost/find/'+id,
    method:'get',
  })
}
